package com.ruoyi.system.service;

import com.ruoyi.system.domain.Comment;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CommentService {

    int saveComment(Comment comment);

    void deleteComment(Comment comment,Long id);

    List<Comment> listCommentByBlogId(Long blogId);

    List<Comment> getCommentByUserId(Long userId);
    List<Comment> findByparentCommentId(Long parentCommentId);
}
